<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>markdown的学习笔记 | Leon&#39;s blog</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="前言开局先bb两句本来一个星期前立下了flag在下个月前要让jing看到我博客上的~~学习资料，本来打算在清明假期好好的学习一手hexo的使用，结果还是控制不住我自己连续在家里躺着玩了三天的王者（辣鸡王者毁我青春败我钱财），今天刚好更新了自己的专业课博客（水），就想着学习一下markdown为了以后能更好的排版，但又实在是害怕自己少儿痴呆的脑子记不住编写的格式，所以顺便就把自己的markdown学">
<meta property="og:type" content="article">
<meta property="og:title" content="markdown的学习笔记">
<meta property="og:url" content="https://leonlee233.github.io/2020/04/09/markdown%E7%9A%84%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/index.html">
<meta property="og:site_name" content="Leon&#39;s blog">
<meta property="og:description" content="前言开局先bb两句本来一个星期前立下了flag在下个月前要让jing看到我博客上的~~学习资料，本来打算在清明假期好好的学习一手hexo的使用，结果还是控制不住我自己连续在家里躺着玩了三天的王者（辣鸡王者毁我青春败我钱财），今天刚好更新了自己的专业课博客（水），就想着学习一下markdown为了以后能更好的排版，但又实在是害怕自己少儿痴呆的脑子记不住编写的格式，所以顺便就把自己的markdown学">
<meta property="og:locale">
<meta property="og:image" content="https://s1.ax1x.com/2020/04/20/JQopMn.th.jpg">
<meta property="og:image" content="https://s1.ax1x.com/2020/04/20/JQIEjI.th.jpg">
<meta property="og:image" content="https://s1.ax1x.com/2020/04/20/JQITKI.th.jpg">
<meta property="og:image" content="https://s1.ax1x.com/2020/04/20/JQIrvR.th.jpg">
<meta property="article:published_time" content="2020-04-09T11:48:52.000Z">
<meta property="article:modified_time" content="2023-10-26T05:45:24.552Z">
<meta property="article:author" content="Leon Lee">
<meta property="article:tag" content="学习笔记">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://s1.ax1x.com/2020/04/20/JQopMn.th.jpg">
<meta name="twitter:creator" content="@https:&#x2F;&#x2F;twitter.com&#x2F;leonwithleo">
  
    <link rel="alternate" href="/atom.xml" title="Leon's blog" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">

  
  
<meta name="generator" content="Hexo 6.3.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">Leon&#39;s blog</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"><span class="fa fa-bars"></span></a>
        
          <a class="main-nav-link" href="/">主页</a>
        
          <a class="main-nav-link" href="/archives">归档</a>
        
      </nav>
      <nav id="sub-nav">
        
        
          <a class="nav-icon" href="/atom.xml" title="RSS Feed"><span class="fa fa-rss"></span></a>
        
        <a class="nav-icon nav-search-btn" title="Suche"><span class="fa fa-search"></span></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Suche"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="https://leonlee233.github.io"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main"><article id="post-markdown的学习笔记" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2020/04/09/markdown%E7%9A%84%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" class="article-date">
  <time class="dt-published" datetime="2020-04-09T11:48:52.000Z" itemprop="datePublished">2020-04-09</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 class="p-name article-title" itemprop="headline name">
      markdown的学习笔记
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p><strong>开局先bb两句</strong><br>本来一个星期前立下了flag在下个月前要让jing看到我博客上的~~学习资料，本来打算在清明假期好好的学习一手hexo的使用，结果还是控制不住我自己连续在家里躺着玩了三天的王者（辣鸡王者毁我青春败我钱财），今天刚好更新了自己的专业课博客（水），就想着学习一下markdown为了以后能更好的排版，但又实在是害怕自己少儿痴呆的脑子记不住编写的格式，所以顺便就把自己的markdown学习过程也整理一下以免遗忘</p>
<p><a target="_blank" rel="noopener" href="https://imgchr.com/i/JQopMn"><img src="https://s1.ax1x.com/2020/04/20/JQopMn.th.jpg" alt="JQopMn.th.jpg"></a></p>
<span id="more"></span>
<h3 id="参考资料"><a href="#参考资料" class="headerlink" title="参考资料"></a>参考资料</h3><p>本文章大部分参考<a target="_blank" rel="noopener" href="https://www.runoob.com/markdown/md-paragraph.html">菜鸟教程</a><br>本博客不用于商业用途，如果造成了侵权请联系我删除，感谢菜鸟教程在我成为程序猿的路上对我的支持嗷，本人在此表示感谢</p>
<p><a target="_blank" rel="noopener" href="https://imgchr.com/i/JQIEjI"><img src="https://s1.ax1x.com/2020/04/20/JQIEjI.th.jpg" alt="JQIEjI.th.jpg"></a></p>
<h2 id="第一章-Markdown-标题"><a href="#第一章-Markdown-标题" class="headerlink" title="第一章 Markdown 标题"></a>第一章 Markdown 标题</h2><h3 id="1、使用-和-标记一级和二级标题"><a href="#1、使用-和-标记一级和二级标题" class="headerlink" title="1、使用 &#x3D; 和 - 标记一级和二级标题"></a>1、使用 &#x3D; 和 - 标记一级和二级标题</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">我展示的是一级标题</span><br><span class="line">=================</span><br><span class="line"></span><br><span class="line">我展示的是二级标题</span><br><span class="line">-----------------</span><br></pre></td></tr></table></figure>
<p>显示效果请自行复制操作谢谢（狗头保命）</p>
<p><a target="_blank" rel="noopener" href="https://imgchr.com/i/JQITKI"><img src="https://s1.ax1x.com/2020/04/20/JQITKI.th.jpg" alt="JQITKI.th.jpg"></a></p>
<h3 id="2、使用-号标记"><a href="#2、使用-号标记" class="headerlink" title="2、使用 # 号标记"></a>2、使用 # 号标记</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 一级标题</span></span><br><span class="line"><span class="comment">## 二级标题</span></span><br><span class="line"><span class="comment">### 三级标题</span></span><br><span class="line"><span class="comment">#### 四级标题</span></span><br><span class="line"><span class="comment">##### 五级标题</span></span><br><span class="line"><span class="comment">###### 六级标题</span></span><br></pre></td></tr></table></figure>
<p>显示效果参考本章：<br>例如前言大小为二级标题，参考资料为三级标题</p>
<h2 id="第二章-Markdown-段落"><a href="#第二章-Markdown-段落" class="headerlink" title="第二章 Markdown 段落"></a>第二章 Markdown 段落</h2><h3 id="1-分段方法"><a href="#1-分段方法" class="headerlink" title="1.分段方法"></a>1.分段方法</h3><p>1.Markdown 段落没有特殊的格式，直接编写文字就好，段落的换行是使用两个以上空格加上回车。<br>eg:</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">你们长的都特别帅  </span><br><span class="line">那当然是不可能的</span><br></pre></td></tr></table></figure>
<p>2.当然也可以在段落后面使用一个空行来表示重新开始一个段落。<br>eg:</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line">你们长的都特别帅  </span><br><span class="line"></span><br><span class="line">那当然是不可能的</span><br></pre></td></tr></table></figure>

<h3 id="2-更改字体"><a href="#2-更改字体" class="headerlink" title="2.更改字体"></a>2.更改字体</h3><p>例如编写以下字体</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">*斜体文本*</span><br><span class="line">_斜体文本_</span><br><span class="line">**粗体文本**</span><br><span class="line">__粗体文本__</span><br><span class="line">***粗斜体文本***</span><br><span class="line">___粗斜体文本___</span><br></pre></td></tr></table></figure>
<p>让我们看看效果吧：  </p>
<p><em>斜体文本</em><br><em>斜体文本</em><br><strong>粗体文本</strong><br><strong>粗体文本</strong><br><em><strong>粗斜体文本</strong></em><br><em><strong>粗斜体文本</strong></em></p>
<h3 id="3-1删除线"><a href="#3-1删除线" class="headerlink" title="3.1删除线"></a>3.1删除线</h3><p>如果段落上的文字要添加删除线，只需要在文字的两端加上两个波浪线 ~~ 即可，实例如下：</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">~~各位看官都比小的帅~~  </span><br><span class="line">大爷我比你们都更加有魅力</span><br></pre></td></tr></table></figure>
<p>效果如下：</p>
<p><del>各位看官都比小的帅</del><br>大爷我比你们都更加有魅力</p>
<h3 id="3-2下划线"><a href="#3-2下划线" class="headerlink" title="3.2下划线"></a>3.2下划线</h3><p>下划线可以通过 HTML 的 <u> 标签来实现：</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">&lt;u&gt;带下划线文本&lt;/u&gt;</span><br></pre></td></tr></table></figure>
<p>效果如下：</p>
<p><u>这个博主真TM自恋</u></p>
<h3 id="3-3脚注"><a href="#3-3脚注" class="headerlink" title="3.3脚注"></a>3.3脚注</h3><p>脚注是对文本的补充说明。</p>
<p>Markdown 脚注的格式如下:</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">[^要注明的文本]</span><br><span class="line"></span><br><span class="line">eg：</span><br><span class="line">创建脚注格式类似这样 [^Leon]。</span><br><span class="line"></span><br><span class="line">[^Leon]: 可恶！这个男人竟然浑身散发着人性的光辉和无与伦比的人格魅力</span><br></pre></td></tr></table></figure>
<p>演示效果如下：<br>创建脚注格式类似这样 <a href="%E5%8F%AF%E6%81%B6%EF%BC%81%E8%BF%99%E4%B8%AA%E7%94%B7%E4%BA%BA%E7%AB%9F%E7%84%B6%E6%B5%91%E8%BA%AB%E6%95%A3%E5%8F%91%E7%9D%80%E4%BA%BA%E6%80%A7%E7%9A%84%E5%85%89%E8%BE%89%E5%92%8C%E6%97%A0%E4%B8%8E%E4%BC%A6%E6%AF%94%E7%9A%84%E4%BA%BA%E6%A0%BC%E9%AD%85%E5%8A%9B">^Leon</a>。</p>
<p><a target="_blank" rel="noopener" href="https://imgchr.com/i/JQIrvR"><img src="https://s1.ax1x.com/2020/04/20/JQIrvR.th.jpg" alt="JQIrvR.th.jpg"></a></p>
<p>ps：剩下的下次更新嗷</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://leonlee233.github.io/2020/04/09/markdown%E7%9A%84%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" data-id="clo6uzd8f000b8cuk826zdwg2" data-title="markdown的学习笔记" class="article-share-link"><span class="fa fa-share">Teilen</span></a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" rel="tag">学习笔记</a></li></ul>

    </footer>
  </div>
  
    
<nav id="article-nav">
  
    <a href="/2020/04/12/hexo%E5%8D%9A%E5%AE%A2%E6%A1%86%E6%9E%B6%E6%8F%92%E5%85%A5%E5%9B%BE%E7%89%87/" id="article-nav-newer" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Neuer</strong>
      <div class="article-nav-title">
        
          hexo博客框架插入图片
        
      </div>
    </a>
  
  
    <a href="/2020/04/09/c-%E5%87%BD%E6%95%B0%E6%A8%A1%E6%9D%BF01/" id="article-nav-older" class="article-nav-link-wrap">
      <strong class="article-nav-caption">Älter</strong>
      <div class="article-nav-title">c++函数模板01</div>
    </a>
  
</nav>

  
</article>


</section>
        
          <aside id="sidebar">
  
    

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tags/Hide/" rel="tag">Hide</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/Literature-Review/" rel="tag">Literature Review</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%9B%9E%E5%BF%86%E5%BD%95/" rel="tag">回忆录</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%A5%87%E6%80%AA%E7%9A%84%E7%A2%8E%E7%A2%8E%E5%BF%B5/" rel="tag">奇怪的碎碎念</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%AD%A6%E4%B9%A0%E5%BF%83%E5%BE%97/" rel="tag">学习心得</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" rel="tag">学习笔记</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%91%84%E5%BD%B1/" rel="tag">摄影</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%95%99%E7%A8%8B/" rel="tag">教程</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E6%B8%B8%E8%AE%B0/" rel="tag">游记</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/%E7%BE%8E%E5%9B%BE/" rel="tag">美图</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/Hide/" style="font-size: 20px;">Hide</a> <a href="/tags/Literature-Review/" style="font-size: 10px;">Literature Review</a> <a href="/tags/%E5%9B%9E%E5%BF%86%E5%BD%95/" style="font-size: 12px;">回忆录</a> <a href="/tags/%E5%A5%87%E6%80%AA%E7%9A%84%E7%A2%8E%E7%A2%8E%E5%BF%B5/" style="font-size: 10px;">奇怪的碎碎念</a> <a href="/tags/%E5%AD%A6%E4%B9%A0%E5%BF%83%E5%BE%97/" style="font-size: 18px;">学习心得</a> <a href="/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/" style="font-size: 10px;">学习笔记</a> <a href="/tags/%E6%91%84%E5%BD%B1/" style="font-size: 14px;">摄影</a> <a href="/tags/%E6%95%99%E7%A8%8B/" style="font-size: 16px;">教程</a> <a href="/tags/%E6%B8%B8%E8%AE%B0/" style="font-size: 12px;">游记</a> <a href="/tags/%E7%BE%8E%E5%9B%BE/" style="font-size: 10px;">美图</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archiv</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/10/">October 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2023/07/">July 2023</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/11/">November 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/06/">June 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/06/">June 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/05/">May 2020</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/04/">April 2020</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">letzter Beitrag</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2023/10/26/DETR%E7%AC%94%E8%AE%B0/">文章总结：DETR笔记</a>
          </li>
        
          <li>
            <a href="/2023/07/14/%E4%B8%80%E4%B8%AA%E5%A5%BD%E7%9A%84%E5%BC%80%E5%A7%8B/">一个好的开始</a>
          </li>
        
          <li>
            <a href="/2021/11/20/linux%E7%B3%BB%E7%BB%9F%E7%9A%84%E5%AE%89%E8%A3%85/">linux系统的安装</a>
          </li>
        
          <li>
            <a href="/2021/11/20/%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%9F%BA%E7%A1%80step1-hadoop/">大数据基础step1:hadoop</a>
          </li>
        
          <li>
            <a href="/2021/06/05/Linux%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/">Linux学习笔记</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      
      &copy; 2023 Leon Lee<br>
      Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">主页</a>
  
    <a href="/archives" class="mobile-nav-link">归档</a>
  
</nav>
    


<script src="/js/jquery-3.6.4.min.js"></script>



  
<script src="/fancybox/jquery.fancybox.min.js"></script>




<script src="/js/script.js"></script>





  </div>
</body>
</html>